<ion-view view-title="求购详情" class="myproductdetail">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<!--描述：滑动块-->
	<ion-content>
		
		<div class="list list-borderless">
		  <li class="item item-divider">
		  	 {{detailData.title}}
		  </li> 
		   <li class="item padding-5  font-gray-my">
		   	<span class="right-zhang bian_red font-large-my assertive border-radius-my" style="padding: 1px 5px;"  ng-show="check!='5'&&!detailData.is_my_order&&!timeOut" on-tap="show_apply()">我要报价</span>
		         <p>截止时间：{{detailData.end_time}}</p> 
		  </li>
		   <li class="item padding-5  font-gray-my">
		         <p>联系方式：{{detailData.phone}}</p> 
		  </li>
		   <li class="item padding-5 item-text-wrap  font-gray-my">
		         <p>需求说明：{{detailData.memo}}</p> 
		  </li>
		   <li class="item item-divider">
		          求购商品
		  </li>
		  <div ng-repeat="goods in detailData.goods"><!--循环的div-->
		  <li class="item padding-5" ng-class="{'margin-top-10-my':$index!=0}">
		  	 <p>商品名称：{{goods.name}}</p>
		  	 <p>商品描述：{{goods.describe}}</p>
		  	 <p class="font-gray-my">
		  	 	分类：{{goods.cat_type}}
		  	    
		  	 </p>
		  	 <p class="font-gray-my">
		  	 	品牌：{{goods.brand_name}}&nbsp;&nbsp;
		  	    
		  	 </p>
		  	 <p class="font-gray-my">
		  	 	采购量：{{goods.count}}{{goods.unit}}
		  	 </p>
		  </li>
		  <li class="item padding-0"> <!--一行放4个图片-->
		  	<div class="row padding-0" >
		  		<div class="col col-25  item-image">
		  			<img src="{{goods.photo.image}}" ng-if="goods.photo.image"/>
					<img src="{{noImg}}" ng-if="goods.photo.image==''||goods.photo.image==null"/>
		  		</div>
		  	</div>
		  </li>
		  </div><!--循环的div-->
		  <li class="item item-divider">
		      供应商要求	
		  </li>
		   <li class="item padding-5">
			   <p>收货地址：{{detailData.address}}</p>	
			   <p>发票要求：
			   	<span ng-if="detailData.invoice_type==1">增值税专用发票</span>
			   	<span ng-if="detailData.invoice_type==2">增值税普通发票</span>
			   	<span ng-if="detailData.invoice_type==3">不用发票</span>
			   </p>	
		   </li>
		  
		  <li class="item item-divider">
		          已收到报价<span class="right-zhang font-small-my">共<span class="font-large-my assertive">{{detailData.offer_list.length}}</span>条报价信息</span>
		  </li>
		   <li class="item padding-5 margin-bottom-10" ng-repeat="offer in detailData.offer_list">
		   	<p>供应商：{{offer.store_name}}</p>
		  	 <p>
		  	 本次报价：{{offer.price}}元
		  	 </p>
		  	 <p>所在地区：{{offer.region}}</p>
		  	 <p>报价时间：{{offer.offer_time*1000|date:"yyyy-MM-dd HH:mm:ss"}}</p>
		  </li>
		</div>
	</ion-content>
	
		<!--弹窗，通过点击控制-->
		<div ng-hide="isHide" class="kuang_zhang font-large-my padding">
	      	<div ng-include="'templates/service/promotion.html'"></div>
		</div>
		<!--透明背景，当弹窗出现时，该背景也跟着出现，通过点击控制-->
		<div ng-hide="isHide" class="touming_zhang" on-tap="hide_apply(0)"></div>
</ion-view>